package com.cssl.common.to.order;

import com.cssl.common.entity.order.OrderEntity;
import com.cssl.common.entity.order.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 创建的订单TO对象
 * 1.订单
 * 2.订单项
 */
@Data
public class OrderCreateTO {
    private OrderEntity order;            //订单
    private List<OrderItemEntity> orderItems;   //订单项
    private BigDecimal payPrice;                //订单计算的应付价格
    private BigDecimal fare;                    //运费
}
